#include "signup.h"
#include "ui_signup.h"


signup::signup(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::signup)
{
    ui->setupUi(this);
    setWindowTitle("登录");
}

signup::~signup()
{
    delete ui;
}

void signup::on_Okbtn_clicked()
{
    if(ui->account->text()=="xttus"&&ui->password->text()=="1234"){
        this->hide();
        emit emitsignal();
    }
    else{
        QString a="账户或密码输入错误";
        ui->reminder->setText(a);

    }
}
